ScxV6Object.Class Method

Returns an ScxV6Class object representing the database class of the object.

Example:

The following example written in VB.NET shows the Class method being used to retrieve the class name of an object:

Dim Svr As ScxV6DbClient.ScxV6Server

Dim Obj As ScxV6DbClient.ScxV6Object

' Connect to the server

Svr = New ScxV6DbClient.ScxV6Server

Svr.Connect("MAIN", "", "")

' Find a folder on the system

Obj = Svr.FindObject("Group.Sub-Group")

Dim Cl As ScxV6DbClient.ScxV6Class

Cl = Obj.Class

Console.WriteLine(Cl.Name)

' Disconnect

Svr.Disconnect()


Disclaimer

Geo SCADA Expert 2020